//
//  BiViewMsgImageViewController.m
//  XinBanEducation
//
//  Created by bindu on 14-6-6.
//  Copyright (c) 2014年 Nahan Cop. All rights reserved.
//

#import "BiViewimageViewController.h"
#import "BiZoomScrollView.h"

@interface BiViewimageViewController ()
@end

@implementation BiViewimageViewController
@synthesize navTitle;
@synthesize image;

- (id)init
{
    self = [super init];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];

    [self setNavBackBtn];
    [self setNavBarWithHidden:NO];
    [self setNavBarTitle:self.navTitle];
    
    
    [self addTestView];
    
    BiZoomScrollView * zoomScrollView = [[BiZoomScrollView alloc] initWithFrame:CGRectMake(0, [self viewTop], MAIN_SCREEN_WIDTH, self.view.frame.size.height-[self viewTop])];
    [zoomScrollView setImage:self.image];
    [self.view addSubview:zoomScrollView];

}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)dealloc
{
    self.image = nil;
    
}



@end
